Task Work Mode Reference
This page describes the workMode object returned by the List Robot Work Modes API (POST /openapi/v3/tasks/fusion/work-modes/list): its complete configuration structure, the meaning of each field, and all currently known work mode enumerations. Different product lines support different mode combinations.
Supported Versions
A6+
Usage Example (workMode Object)
When creating a Combined Task or schedule, the workMode object usage example is as follows:
{
"workMode": {
"id": "f476ea80b55042efbd69d31f52d039ff",
"mode": "wash",
"subType": "wash",
"type": 0,
"strength": "middle"
}
}
Complete workMode Configuration Structure
{
"id": "f476ea80b55042efbd69d31f52d039ff",
"mode": "wash",
"subType": "wash",
"type": 0,
"configType": "strength",
"hasStrength": true,
"recommended": true,
"subTaskEnabled": true,
"defaultStrength": "middle",
"strengthOptions": ["low", "middle", "high"]
}
Field Reference
| Field | Type | Example | Description | Notes |
|---|---|---|---|---|
| id | string | f476ea80b55042efbd69d31f52d039ff | Work mode ID that uniquely identifies a mode within a product line | Referenced when creating Combined Tasks or schedules |
| mode | string | wash | Work mode machine code (display identifier); lowercase letters, digits, and underscores only | See Work Mode Enumerations for all values |
| subType | string | wash | Internal mode identifier (English enum value) used for frontend-backend interaction | Currently identical to mode |
| type | int | 0 | Work task type | 0=CLEAN (cleaning task); 5=WORK (work task: inspection/power wash). Cleaning modes are 0; inspection and power wash are 5 |
| recommended | bool | true | Whether this mode is recommended | Usually one mode per product line is marked as recommended |
| configType | string | strength | Configuration style | strength=has cleaning gear levels; fixed=fixed configuration (no gear levels); custom=custom configuration (reserved, no current instances) |
| hasStrength | bool | true | Whether cleaning gear adjustment is supported | true when configType=strength; false when fixed |
| strengthOptions | array<string> | ["low","middle","high"] | List of selectable gear levels | Empty array [] for fixed modes such as inspection and power wash; some modes support a single level only (e.g. ["middle"]). Array order does not imply level ranking |
| defaultStrength | string | middle | Default gear | Empty string "" for inspection and power wash |
| subTaskEnabled | bool | true | Whether the mode can be used as a subtask in a Combined Task | Usually true for cleaning modes; false for inspection and power wash (standalone tasks only) |
Field Correlations
type=0(cleaning task):configType=strength,hasStrength=true,defaultStrengthis one oflow/middle/high,subTaskEnabled=true.type=5(work task: inspection, power wash):configType=fixed,hasStrength=false,strengthOptions=[],defaultStrength="",subTaskEnabled=false.
Work Mode Enumerations
The enumerations below are aggregated from the current task service configuration and cover all known values. mode and subType currently share the same values.
Cleaning Tasks (type=0)
| mode / subType | Name | Description |
|---|---|---|
sweep | Sweep | Dry sweeping for hard floors |
sweep_wash | Sweep + Wash | Combined sweeping and washing in a single pass |
wash | Wash | Wet scrubbing/washing |
sweep_vacuum | Sweep + Vacuum | Combined sweeping and vacuuming in a single pass |
vacuuming | Vacuum | Pure vacuuming, suitable for carpets and similar scenarios |
dust_push | Dust Push | Dry dust-mopping with a dust mop pad |
roller_dust_push | Roller Dust Push | Dust pushing with a roller brush |
silent_dust_push | Silent Dust Push | Low-noise dust pushing for noise-sensitive scenarios |
aromatherapy | Aromatherapy | Releases fragrance while moving; no wet cleaning |
disinfectant | Disinfection | Sprays disinfectant for sanitization |
sweep_vacuum_clean | Sweep + Vacuum Clean | Combined sweeping/vacuuming deep cleaning mode |
carpet_cleaning | Carpet Cleaning | Vacuum cleaning mode dedicated to carpets |
hot_wash | Hot Water Wash | Washing with hot water for stronger degreasing |
Work Tasks (type=5)
| mode / subType | Name | Description |
|---|---|---|
inspect | Inspection | Patrols along a route and autonomously cleans when cleanable stains are detected |
strong_wash | Power Wash | High-intensity washing for heavily soiled areas |
Work modes are configured per robot product line. The table above is the full enumeration; the modes actually supported by a specific robot are those returned by its List Robot Work Modes API. For example, sweeper product lines typically return sweep and inspect, while scrubber product lines typically return wash, dust_push, and inspect.
Gear Enumerations
| strength | Name | Description |
|---|---|---|
low | Gentle | Gentle cleaning; faster and quieter, for lightly soiled areas |
middle | Standard | Standard cleaning (the default for most modes) |
high | Strong | Strong cleaning for heavily soiled areas |
Gear levels apply only to modes with configType=strength. strengthOptions is the subset of levels actually selectable for the mode, and defaultStrength is used when strength is omitted.
configType Enumerations
| configType | Meaning | Characteristics |
|---|---|---|
strength | Has cleaning gear levels | hasStrength=true; a strength value may be provided; strengthOptions is non-empty |
fixed | Fixed configuration | hasStrength=false; no levels; strengthOptions=[] and defaultStrength=""; inspection and power wash fall into this category |
custom | Custom configuration | Reserved enumeration; no instances in current production data |
Usage Example
When creating a Combined Task or schedule, workMode references an object returned by List Robot Work Modes:
{
"workMode": {
"id": "f476ea80b55042efbd69d31f52d039ff",
"mode": "wash",
"subType": "wash",
"type": 0,
"strength": "middle"
}
}
id+mode(+subType) together locate a work mode; whenidis empty, matching bymodealone is sufficient.- When
strengthis omitted, the mode'sdefaultStrengthis used; a provided value must be one ofstrengthOptions. - Fixed-configuration modes (
configType=fixed, e.g.inspect,strong_wash) do not acceptstrength.
Typical Product Line Configuration Examples
The following are real configurations from the task service, showing how mode combinations differ across product lines.
Scrubber product line (wash, dust push, inspection):
[
{"id": "7f94c2fe1e744ea7a06a411329dc763f", "mode": "sweep", "type": 0, "subType": "sweep", "configType": "strength", "hasStrength": true, "recommended": true, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "d1b03d7c0c1c4773b9dae3d4d027037e", "mode": "sweep_wash", "type": 0, "subType": "sweep_wash", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "0fa484cfec2a4d618c7bd17583315ece", "mode": "wash", "type": 0, "subType": "wash", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "", "mode": "dust_push", "type": 0, "subType": "dust_push", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "3f7a8b2c5d9e4f1a8c6b9e2d7f4a8b3c", "mode": "inspect", "type": 5, "subType": "inspect", "configType": "fixed", "hasStrength": false, "recommended": false, "subTaskEnabled": false, "defaultStrength": "", "strengthOptions": []}
]
Product line with power wash (strong_wash under type=5):
[
{"id": "1dee3b4db66942e5b515acda4c50467a", "mode": "wash", "type": 0, "subType": "wash", "configType": "strength", "hasStrength": true, "recommended": true, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["high", "low", "middle"]},
{"id": "e9b96b1fb8944bf0bbc442d3f09a315b", "mode": "dust_push", "type": 0, "subType": "dust_push", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["high", "low", "middle"]},
{"id": "3f7a8b2c5d9e4f1a8c6b9e2d7f4a8b3c", "mode": "inspect", "type": 5, "subType": "inspect", "configType": "fixed", "hasStrength": false, "recommended": false, "subTaskEnabled": false, "defaultStrength": "", "strengthOptions": []},
{"id": "6e4d8a9f2b7c3e5a1d9f6b8c4e7a2d5f", "mode": "strong_wash", "type": 5, "subType": "strong_wash", "configType": "fixed", "hasStrength": false, "recommended": false, "subTaskEnabled": false, "defaultStrength": "", "strengthOptions": []}
]
Commercial cleaning robot product line (dry modes such as aromatherapy/disinfection/carpet cleaning):
[
{"id": "b6680d6bec6f4c6eac0cdbcd1e59d53c", "mode": "disinfectant", "type": 0, "subType": "disinfectant", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "d42df81e0da148f0b40a37e60807128b", "mode": "aromatherapy", "type": 0, "subType": "aromatherapy", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "...", "mode": "carpet_cleaning", "type": 0, "subType": "carpet_cleaning", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]}
]
Product line supporting a single gear level (strengthOptions contains only middle):
[
{"id": "3bebb490abc04d39ab84ff8044055c6b", "mode": "wash", "type": 0, "subType": "wash", "configType": "strength", "hasStrength": true, "recommended": true, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "74bf116ab2554e128640a823b559358d", "mode": "dust_push", "type": 0, "subType": "dust_push", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["middle"]},
{"id": "3f7a8b2c5d9e4f1a8c6b9e2d7f4a8b3c", "mode": "inspect", "type": 5, "subType": "inspect", "configType": "fixed", "hasStrength": false, "recommended": false, "subTaskEnabled": false, "defaultStrength": "", "strengthOptions": []}
]